package com.mei.demo.response;

import java.util.List;

public class BasePageResponse<T> extends BaseResponse {

    /**
     * 
     */
    private static final long serialVersionUID = 5227095557688118751L;

    /**
     * 分页展示数据
     */
    private List<T>           resultList;

    /**
     * 当前分页页码
     */
    private int               pageNum;

    /**
     * 分页每页条目
     */
    private int               pageSize;

    /**
     * 分页总条数
     */
    private long              total;

    /**
     * 分页总页数
     */
    private long              totalPage;

    /**
     * @return the resultList
     */
    public List<T> getResultList() {
        return resultList;
    }

    /**
     * @param resultList the resultList to set
     */
    public void setResultList(List<T> resultList) {
        this.resultList = resultList;
    }

    /**
     * @return the pageNum
     */
    public int getPageNum() {
        return pageNum;
    }

    /**
     * @param pageNum the pageNum to set
     */
    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    /**
     * @return the pageSize
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * @param pageSize the pageSize to set
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * @return the total
     */
    public long getTotal() {
        return total;
    }

    /**
     * @param total the total to set
     */
    public void setTotal(long total) {
        this.total = total;
    }

    /**
     * @return the totalPage
     */
    public long getTotalPage() {
        return totalPage;
    }

    /**
     * @param totalPage the totalPage to set
     */
    public void setTotalPage(long totalPage) {
        this.totalPage = totalPage;
    }

}